<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo $this->lang->line('sitename'); ?> : <?php echo $this->lang->line('back-end'); ?> &raquo; <?php echo $this->lang->line('log in'); ?></title>
        <meta name="Generator" content="WebCulture Co.Ltd.">
        <meta name="Author" content="WebCulture Co.Ltd.">
        <meta name="copyright" content="&copy; 2012 Lakchai Golf School, http://www.lakchaigolfschool.com" />
        <meta name="Description" content="โรงเรียนสอนกอล์ฟหลักชัย ดำเนินการสอนกอล์ฟสำหรับเยาวชน และบุคคลทั่วไป">
        <meta name="Keywords" content="Lakchai Golf School , โรงเรียนสอนกอล์ฟ , สอนกอล์ฟ , Golf School">
        <link rel="icon" href="<?php echo other_asset_url('favicon.ico', 'admin' , 'image'); ?>" type="image/x-icon">
        
        <?php echo css_asset('login.css','admin'); ?>
        <?php echo css_asset('formalize.css','admin'); ?>
        
        <script type="text/javascript" src="<?php echo js_asset_url('jquery-1.7.2.min.js', 'admin'); ?>"></script>
        <script type="text/javascript" src="<?php echo js_asset_url('formalize/jquery.formalize.min.js', 'admin'); ?>"></script>
    </head>
    <body>
        <div id="wrapper">
            <div id="login">
                <div id="login_logo">
                    <?php echo image_asset('logo_1.png','admin'); ?>
                </div>
                <div id="login_form">
                    <form action="<?php echo site_url('admin/auth'); ?>" method="post" autocomplete="on">
                        <div class="login_form">
                            <label for="username"><?php echo $this->lang->line('username'); ?> / <?php echo $this->lang->line('email'); ?> :</label>
                            <input type="text" name="username"  id="username"  value="<?php echo set_value('username', ''); ?>" class="input_large" />
                        </div>
                        <div class="login_form">
                            <label for="password"><?php echo $this->lang->line('password'); ?> :</label>
                            <input type="password" name="password"  id="password"  value="<?php echo set_value('password', ''); ?>" class="input_large" />
                        </div>
                        <div class="login_form">
                            <label for="submit">&nbsp;</label>
                            <input type="submit" id="submit" name="submit" value="<?php echo $this->lang->line('log in'); ?>" />
                            <!--<a href="<?php echo site_url('admin/login/?lang=english'); ?>" class="small_text">EN</a>
                            &#124;
                            <a href="<?php echo site_url('admin/login/?lang=thai'); ?>" class="small_text">TH</a>-->
                        </div>
                    </form>
                    
                    <div class="validation_errors"><?php echo validation_errors(); ?><?php echo $message; ?></div>
                </div>
            </div>
        </div>
    </body>
</html>